package com.xmg.p2p.base.event;

import com.xmg.p2p.base.domain.RealAuth;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;
@Getter
public class RealAuthSuccessEvent extends ApplicationEvent {

    private RealAuth realAuth;
    /**
     * Create a new ApplicationEvent.
     *
     * @param source the component that published the event (never {@code null})
     */
    public RealAuthSuccessEvent(Object source,RealAuth realAuth) {
        super(source);
        this.realAuth=realAuth;
    }
}
